<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <head>
        <title>修改密码</title>
        <link rel="icon" href="${pageContext.request.contextPath}/images/kaifamiao.jpg" type="image/x-icon">
        <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/kaifamiao.jpg" type="image/x-icon" media="screen">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.css">
    </head>
    <body>

        <%-- 利用JSP标准动作实现包含操作 --%>
        <jsp:include page="/WEB-INF/pages/commons/status.jsp"></jsp:include>

        <jsp:include page="/WEB-INF/pages/commons/head.jsp"></jsp:include>

        <div class="container">
            <h3>修改登录密码</h3>
            <form action="/customer/change/password" method="post">
                <div class="row">
                    <label for="original" class="col-3">原始密码</label>
                    <input type="password" name="original" id="original" class="col-8">
                </div>
                <div class="row">
                    <label for="password" class="col-3">新密码</label>
                    <input type="password" name="password" id="password" class="col-8">
                </div>
                <div class="row">
                    <label for="confirm" class="col-3">确认新密码</label>
                    <input type="password" name="confirm" id="confirm" class="col-8">
                </div>
                <div class="row">
                    <label for="captcha" class="col-3">验证码</label>
                    <input type="password" name="captcha" id="captcha" class="col-4">
                    <span class="col-4">
                        <img src="${pageContext.request.contextPath}/captcha/image/change/password">
                    </span>
                </div>
                <div class="row">
                    <button type="submit" class="btn btn-primary offset-3 col-8">确定</button>
                </div>
            </form>
        </div>


        <jsp:include page="/WEB-INF/pages/commons/foot.jsp"></jsp:include>
    </body>
</html>
